namespace EduModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class T_User
    {
        [Key]
        public int UserId { get; set; }

        [StringLength(50)]
        public string LoginName { get; set; }

        [StringLength(50)]
        public string Password { get; set; }

        [StringLength(50)]
        public string RealName { get; set; }

        public int? RoleId { get; set; }

        public bool? Sex { get; set; }

        [StringLength(20)]
        public string CardNo { get; set; }

        [StringLength(20)]
        public string Phone { get; set; }

        [StringLength(100)]
        public string Email { get; set; }

        public int? UserState { get; set; }

        public int? UserFrom { get; set; }

        public int? UserAudit { get; set; }

        public int SchoolId { get; set; }

        public int GradeId { get; set; }

        public int ClassId { get; set; }

        public decimal? ScorePlus { get; set; }

        public decimal? ScoreSub { get; set; }

        public decimal? ScoreCur { get; set; }

        [StringLength(200)]
        public string QrCode { get; set; }

        [StringLength(200)]
        public string HeadImg { get; set; }

        [StringLength(50)]
        public string Phone1 { get; set; }

        [StringLength(50)]
        public string Phone2 { get; set; }

        public int? CurDaySendTimes { get; set; }

        [StringLength(10)]
        public string AreaCode { get; set; }

        public int? GroupId { get; set; }
    }
}
